home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / LIFER__ / PROTO / P / PCOMMONL.C < prev    next >
Text File  |  1991-07-23  |  2KB  |  44 lines

  1. /*   PCommonLife                                                           Common
  2.  
  3. Name:  PCommonLife.c  
  4. Function:  Common for the Prototyper specific code.
  5. History: 7/23/91 Original by Prototyper 3.0
  6. */
  7.  
  8.  
  9. #include "PCommonLife.h"    /* Common */
  10.  
  11. /* ======================================================= */
  12.  
  13.  
  14.  
  15. UserEventHRec UserEventList;                                            /* User Event record list start */
  16. EventRecord myEvent;                                                     /* Event record for all events */
  17. Boolean WNE;                                                                 /* WaitNextEvent trap is available */
  18. short SleepValue;                                                            /* Sleep value for Wait on events */
  19. Boolean doneFlag;                                                            /* Exit program flag */
  20. TEHandle theInput;                                                           /* Used in text edit selections */
  21. Rect tempRect;                                                              /* Temporary rect, not for long term use */
  22. Str255 sTemp;                                                              /* Temporary string, not for long term use */
  23. Boolean  HasColorQD;                                                       /* Flag for Color QuickDraw being available */
  24. Boolean  HasFPU;                                                             /* Flag for Floating Point Math Chip being available */
  25. Boolean  InTheForeground;                                                 /* Flag for running in MultiFinder foreground */
  26. short  tempChar;                                                             /*Temporary use character*/
  27.  
  28. MenuHandle    Menu_Apple;                                                 /* Menu handle */
  29. MenuHandle    Menu_File;                                                   /* Menu handle */
  30. MenuHandle    Menu_Edit;                                                  /* Menu handle */
  31.  
  32. /* Variables for the modal dialog titled  "LIFE INPUT" */
  33.  
  34. /* Variables for the modeless dialog titled  "LIFE WINDOW" */
  35. WindowPtr    WPtr_LIFE_WINDOW;                                        /* Modeless Dialog window pointer */
  36.  
  37. /* Variables for the alert titled  "Life Alert" */
  38.  
  39.  
  40.  
  41. /* ======================================================= */
  42.  
  43.  
  44.